<%= f.error_messages %>

<%= f.hidden_field :document_id %>
<%= f.hidden_field :section_id %>

<h4><%= f.label :document_no, t("number_of")+t(@document_correction.document.class.to_s.downcase+".type") %></h4>
<%= f.text_field :document_no %>

<h4><%= f.label :section_title, t("number_of")+t(@document_correction.document.class.to_s.downcase+"."+@document_correction.section.class.to_s.downcase) %></h4>
<%= f.text_field :section_title %>

<% if Hadith === @document_correction.document %>
  <h4><%= f.label :rewaya, t("hadith.rewaya") %></h4>
  <%= f.text_area :rewaya, :rows=>5 %>

  <h4><%= f.label :body, t("hadith.body") %></h4>
  <%= f.text_area :body, :rows=>5 %>

	<h4><%= f.label :sanad, t("hadith.sanad") %></h4>
	<%= f.text_field :sanad %>
<% else %>
  <h4><%= f.label :body, t("aya.body") %></h4>
  <%= f.text_area :body, :rows=>5 %>
<% end %>

<h4><%= f.label :description, t("hadith.description") %></h4>
<%= f.text_area :description, :rows=>5 %>
